package com.uml.umlwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.uml.umlwork.entity.base.BaseEntity;
import com.uml.umlwork.entity.enumeration.GenderEnum;
import com.uml.umlwork.entity.enumeration.TeacherTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

@ApiModel("培训师实体")
@NoArgsConstructor
@Setter
@Getter
@Accessors(chain = true)
@TableName(value = "uml_teacher",autoResultMap = true)
public class Teacher extends BaseEntity {
    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("性别")
    private GenderEnum gender;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("账号信息")
    private String userId;

    @ApiModelProperty("培训师类型")
    private TeacherTypeEnum teacherType;
}
